* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    background-image: url(../pic/background.jpg);
    background-size: cover;
    background-position: center center;
    font-family: 'Arial', sans-serif; /* 更现代的字体 */
}

.nav {
    height: 60px;
    width: 100%;
    color: white;
    background-color: rgba(0, 0, 0, 0.6); /* 更深的背景色，使标题更突出 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav > img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.nav > img:hover {
    transform: scale(1.1); /* 悬停时放大效果 */
}

.nav > .space {
    width: 60%;
    text-align: center;
}

.nav > .blog-title {
    font-size: 24px;
    font-weight: bold;
}

.nav > .nav-span {
    width: 100px;
    text-decoration: none;
    color: white;
    text-align: center;
    font-size: 18px;
    transition: color 0.3s ease;
}

.nav > .nav-span:hover {
    color: #ffab00; /* 鼠标悬停时改变颜色 */
}

.container {
    width: 85%;
    max-width: 1200px;
    height: calc(100% - 60px);
    margin: 20px auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.container > .left {
    width: 22%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.container > .right {
    width: 75%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    padding: 30px;
    border-radius: 10px;
    overflow-y: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.container > .left > .card {
    width: 100%;
    height: auto;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.container > .left > .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.left > .card > img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.left > .card > h3 {
    margin: 15px 0;
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.left > .card > a {
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.left > .card > a:hover {
    color: #ffab00; /* 鼠标悬停时颜色变化 */
}

.left > .card > .row {
    width: 100%;
    height: auto;
    margin: 15px 0;
    display: flex;
    justify-content: space-between;
}

.left > .card > .row > span {
    width: 48%;
    font-size: 14px;
    color: #666;
}

/* 自定义样式调整 */
.container > .right > h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}

.container > .right > p {
    font-size: 16px;
    color: #444;
    line-height: 1.6;
}
